package top.rainbowecho.gateway.security.authentication.social.qq.connect;

import org.springframework.social.connect.support.OAuth2ConnectionFactory;
import top.rainbowecho.gateway.security.authentication.social.qq.api.Qq;

/**
 * @author rainbow
 * @since 2019/12/15 19:08
 */
public class QqConnectionFactory extends OAuth2ConnectionFactory<Qq> {

    public QqConnectionFactory(String providerId, String appId, String appSecret) {
        super(providerId, new QqServiceProvider(appId, appSecret), new QqAdapter());
    }
}
